package com.example.myerp.pojo;

import java.util.List;


public class PageMyself<T> {
	private int pageNum;// ��ҳ��ʼҳ
	private int pageSize;// ÿҳ��¼��
	private List<T> rows;// ���صļ�¼����
	private long total;// �ܼ�¼����
	public PageMyself() {

	}
	public PageMyself(int pageNum, int pageSize, List<T> rows, long total) {
		this.pageNum = pageNum;
		this.pageSize = pageSize;
		this.rows = rows;
		this.total = total;
	}

	public int getPageNum() {
		return pageNum;
	}
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public List<T> getRows() {
		return rows;
	}
	public void setRows(List<T> rows) {
		this.rows = rows;
	}
	public long getTotal() {
		return total;
	}
	public void setTotal(long total) {
		this.total = total;
	}

}
